package cn.kxx.service;

import cn.kxx.entity.PageResult;
import cn.kxx.entity.QueryPageBean;
import cn.kxx.exception.BusinessException;
import cn.kxx.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds) throws BusinessException;

    PageResult findPage(QueryPageBean queryPageBean) throws BusinessException;

    List<Integer> findCheckGroupIdsBySetmealId(Integer id) throws BusinessException;

    Setmeal findById(Integer id) throws BusinessException;

    void edit(Integer[] checkgroupIds, Setmeal setmeal) throws BusinessException;

    void delete(Integer id) throws BusinessException;

    List<Setmeal> findAll() throws BusinessException;

    Setmeal findSeteamDetailById(Integer id) throws BusinessException;

     List<Map<String, Object>> findSetmealCount() throws BusinessException;
}

